import type { App } from 'vue';
import hasRoles from './permission/hasRoles';
import hasPerms from './permission/hasPerms';

export function setupDirectives(app: App<Element>) {
  app.directive('hasRoles', hasRoles);
  app.directive('hasPerms', hasPerms);
}
